package com.avengers.common.bean.enums;

import java.util.LinkedHashMap;

/**
 * @author zhangnan
 * @since 2021/7/29 2:58 下午
 **/
public enum AccountMessageType {
    SYSTEM("系统通知");

    public String comment;

    AccountMessageType(String comment) {
        this.comment = comment;
    }

    public static LinkedHashMap<String, String> getAccountMessageTypeList() {
        LinkedHashMap<String, String> finalMap = new LinkedHashMap<>();
        for (AccountMessageType messageType : values()) {
            finalMap.put(messageType.name(), messageType.comment);
        }
        return finalMap;
    }
}